Skip to content

Thaugdahl/image additions #5

Merged
merged 6 commits into from
Jul 13, 2026
Merged

Thaugdahl/image additions #5

merged 6 commits into from
Jul 13, 2026

Conversation

joakibhu
Copy link
Member

This PR adds some extra features to the TDT4102::Image class that allow for reading and writing pixel data. In addition, it adds a file load cache with O(1) membership querying for SDL_Texture *, SDL_Surface *, and image load paths.
Everything looks to be working, and the program doesn't trip up the address sanitizer. I am still to review the method by which I copy pixel data to and from the SDL_Surface, but the PR should be mostly feature-complete and has seen some testing.

@joakibhu joakibhu merged commit 63bb565 into main Jul 13, 2026
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants